<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('search', 'header'); ?>
	<div class="main_content">
    <div id="main">
    	<div class="main_left">
        	<div class="main_left_top bottom">
            	<div class="pruduct_more">
                	<p class="title_type"> 产品中心 </p>
                	<span class="english">  Classification </span>
                </div>
                <div class="product_menu">
                	<ul>
			
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b2ca4f75ac4eae0b013d12d69e4820ab&action=category&catid=2&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'2','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?> 
           	<?php $ii++?>
                    	<li <?php if($ii == 1 ) { ?> class="on" <?php } ?> > <a href="<?php echo $r['url'];?>"> <?php echo $r['catname'];?> </a> </li>
           <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    </ul>
                </div>
            </div>
        </div>
		 
		 
        <div class="main_right">
        	<div class="main_right_top">
            	<div class="pruduct_more">
                	<p class="title_type"> 搜索 </p>
                	
                    <span class="location">当前位置： 首页 > 搜索  </span>
                </div>
                

			<?php $n=1; if(is_array($datalist)) foreach($datalist AS $i => $r) { ?>
                <div class="about content">
                    <div class="img">
                    	<?php if($r['thumb']) { ?><img src="<?php echo $r['thumb'];?>" /><?php } ?>
                    </div>
                    <div class="about_us info">
                    	<p><?php echo $r['title'];?></p>
                         <?php echo $r['description'];?>
                    	<br/>
                        <a href="<?php echo $r['url'];?>" target="_blank" >了解详情>></a>
                    </div>
                </div>
            <?php $n++;}unset($n); ?>
            <?php if(empty($data)) { ?>
				<div class="about content">
                    未找到结果
                </div>
			<?php } ?>
            	<div class="page">
                	<ul> <li><?php echo $pages;?></li>
                    </ul>
                </div>

                
                
            </div>
          
        </div>



	</div>
</div>
<script type="text/javascript" src="<?php echo JS_PATH;?>search_history.js"></script>
<?php if($setting['suggestenable']) { ?>
<script type="text/javascript" src="<?php echo JS_PATH;?>jquery.suggest.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>search_suggest.js"></script>
<?php } ?>
<?php include template('search', 'footer'); ?>